import axios from "axios";
let edit = (id,data)=>axios.put(`/tag/${id}`,data)
let list = (params)=>axios.get('/tag/list',{params});
let add = (data)=>axios.post('/tag/',data);
let remove = (id)=>axios.delete(`/tag/${id}`,{id})
export default {
    list,edit,add,remove
}